package cn.bjxy.javaks.store_ms.service;

import java.util.List;

import cn.bjxy.javaks.store_ms.dao.ILogDao;
import cn.bjxy.javaks.store_ms.dao.LogDaoImpl;
import cn.bjxy.javaks.store_ms.entity.LogEntity;

public class LogServiceImpl implements ILogService{

	private ILogDao dao = new LogDaoImpl();
	
	@Override
	public List<LogEntity> findAll() {
		return dao.findAll();
	}

	@Override
	public LogEntity findById(String id) {
		return dao.findById(id);
	}

	@Override
	public List<LogEntity> findByAdmin(String name) {
		return dao.findByName(name);
	}

	@Override
	public int delete(String id) {
		return 0;
	}

}
